﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using SMG.Domain.Specifications;
using SMG.Domain.Model.Migration;

namespace SMG.Domain.Specifications.Migration
{
    public class PlayMoveStatusEqualSpecification : Specification<PlayRecord>
    {
        private readonly Int32 moveStatus;
        public PlayMoveStatusEqualSpecification(Int32 moveStatus) {
            this.moveStatus = moveStatus;
        }

        public override global::System.Linq.Expressions.Expression<Func<PlayRecord, bool>> GetExpression()
        {
            return p => p.MoveStatus == moveStatus;
        }
    }
}
